#ifndef __DEBUG_TASK_H__
#define __DEBUG_TASK_H__

#include "usart.h"

#define MAX_BUFFER_SIZE     1024

#define byte0(dw_temp)     (*(char*)(&dw_temp))
#define byte1(dw_temp)     (*((char*)(&dw_temp) + 1))
#define byte2(dw_temp)     (*((char*)(&dw_temp) + 2))
#define byte3(dw_temp)     (*((char*)(&dw_temp) + 3))

void vofa_send_data(uint8_t num, float data);
void vofa_sendframetail(void);

#endif
